package com.edu.exam.enums.examination.paper;

/**
 * 识别方法枚举
 *
 * 从ExamIdRecognitionResult实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum RecognitionMethod {
    OCR("光学字符识别"),
    BARCODE("条码识别"),
    QR_CODE("二维码识别"),
    TEMPLATE_MATCHING("模板匹配"),
    NEURAL_NETWORK("神经网络"),
    MACHINE_LEARNING("机器学习"),
    DEEP_LEARNING("深度学习"),
    PATTERN_RECOGNITION("模式识别"),
    FEATURE_EXTRACTION("特征提取"),
    IMAGE_PROCESSING("图像处理"),
    MANUAL("手动识别"),
    SEMI_AUTOMATIC("半自动识别"),
    BATCH_PROCESSING("批量处理"),
    REAL_TIME("实时识别"),
    OFFLINE("离线识别"),
    HYBRID("混合方法"),
    AI_BASED("基于AI"),
    RULE_BASED("基于规则"),
    STATISTICAL("统计方法");

    private final String description;

    RecognitionMethod(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}